package mythesis.controller;
import javafx.scene.*;
import mythesis.tiles.character.*;
import mythesis.tiles.variable.*;

public class TilePickup
{
    public function pickupTile(tileID:Number):CustomNode
    {
        if (tileID == 1){		var tile = RollDice{}; 		return tile; }
        else if (tileID == 2){	var tile = TakeShortcut{}; 	return tile; }
        else if (tileID == 3){	var tile = Suggest{};		return tile; }
        else if (tileID == 4){	var tile = Accuse{};		return tile; }
        else if (tileID == 5){	var tile = GoTo{};			return tile; }
        else if (tileID == 6){	var tile = Note{};			return tile; }
        else if (tileID == 7){	var tile = Increase{};		return tile; }
        else if (tileID == 8){	var tile = Decrease{};		return tile; }
        else if (tileID == 9){	var tile = Multiply{};		return tile; }
        else if (tileID == 10){	var tile = Divide{};		return tile; }
        else if (tileID == 11){	var tile = Raise{};			return tile; }
        else if (tileID == 12){	var tile = Testify{};		return tile; }
        else if (tileID == 13){	var tile = Falsify{};		return tile; }
        else if (tileID == 14){	var tile = If{};			return tile; }
        else if (tileID == 15){	var tile = While{};			return tile; }
        else if (tileID == 16){	var tile = Set{};			return tile; }
        else if (tileID == 17){	var tile = EndCondition{};	return tile; }
        else if (tileID == 18){	var tile = BreakCondition{};return tile; }
        else if (tileID == 19){	var tile = ListenToSuggestion{};return tile; }
        else if (tileID == 20){	var tile = DisproveSuggestionWith{};return tile; }
        else{ return null }
    }
}